<h2 class="title">高额配置库请记录</h2>
<form action="index.php?c=zy_high_replacement_record&m={%$act%}&post=1" method=post name=frm id="form1" enctype="multipart/form-data"  onSubmit="return Validator.Validate(this,3)">
<table class="tb_term" width="100%">
<tr>
	<td class="tr_td_width01 alignright">库请单号</td>
	<td>
		<input type=text id="storehouse_no" name="storehouse_no" value='{%$storehouse_no%}' class="input_edit_stand txt-normal" dataType="Require" msg="">
		<input type=hidden name="high_replacement_id" value='{%if $high_replacement_id%}{%$high_replacement_id%}{%else%}{%$smarty.get.hid%}{%/if%}'>
	</td>
	<td class="tr_td_width01 alignright">发往项目</td>
	<td class="tr_td_width03">
		<select name="send_company" class="select_edit02 txt-normal">
			{%html_options options=$project_arr selected=$send_company%}
		</select>
	</td>
</tr>
<tr>
	<td class="alignright">数量</td>
	<td><input type=text id="storehouse_num" name="storehouse_num" class="input_edit_num txt-normal" size=25 value='{%$storehouse_num%}' onkeyup="value=value.replace(/[^\d]/ig,'')" dataType="Require" msg=""></td>
	<td class="alignright">经办人</td>
	<td>
		<select name="admin_user_id" class="select_edit txt-normal">
			{%html_options options=$admin_info selected=$admin_user_id %}
		</select>
	</td>
</tr>
<tr>
	<td class="alignright">日期</td>
	<td colspan="3">
		<input type=text class="input_date_edit txt-normal" name="record_date" id="record_date" value='{%$record_date|date_format:"%Y-%m-%d"%}' maxlength="12" dataType="Require" msg="" readonly />
		<script>
			Calendar.setup({
				inputField     :    "record_date",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>

</table>
{%if $is_show == 1%}
<p class="btn_right">
	<button type="button" class="b-default" hidefocus="true" onclick="javascript:history.go(-1)"><span><em>返回</em></span></button>
</p>
{%else%}
<p class="btn_right">
	<input type=hidden name='record_id' id='record_id' value='{%$record_id%}'>
	<button type="submit" class="b-default" hidefocus="true"><span><em>提交</em></span></button>
	<button type="button" class="b-default" hidefocus="true" onclick="javascript:history.go(-1)"><span><em>返回</em></span></button>
</p>
{%/if%}
</form>